package tds.model22;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName Client
 * @Description TODO（这里用一句话描述这个类的作用)
 * @author tds
 * @Date 2020/2/5 22:40
 * @version 1.0.0
 */
public class Client {
    public static void main(String[] args) {
        Singleton1 singleton1 = Singleton1.getInstance();
        Singleton1 singleton2 = Singleton1.getInstance();
        System.out.println(singleton1 == singleton2);

        System.out.println(Singleton5.INSTANCE == Singleton5.INSTANCE);
    }
}
